package datatypes;

public class FreeTextQuestion {
	private int questionIndex;
	private String freeTextQuestion;
	private String freeTextAnswer;
	private double answerfieldHeight;
	private double achievablePoints;
	
	public FreeTextQuestion(int questionIndex,String freeTextQuestion, String freeTextAnswer, double answerfieldHeight, double achievablePoints){
		setQuestionIndex(questionIndex);
		setFreeTextQuestion(freeTextQuestion);
		setAnswer(freeTextAnswer);
		setAnswerfieldHeigt(answerfieldHeight);
		setArchievablePoints(achievablePoints);
	}

	
	/**
	 * SETTER & GETTER
	 */
	
	/**
	 * @return the questionIndex
	 */
	public int getQuestionIndex() {
		return questionIndex;
	}


	/**
	 * @param questionIndex the questionIndex to set
	 */
	public void setQuestionIndex(int questionIndex) {
		this.questionIndex = questionIndex;
	}


	/**
	 * @return the freeTextQuestion
	 */
	public String getFreeTextQuestion() {
		return freeTextQuestion;
	}

	/**
	 * @param freeTextQuestion the freeTextQuestion to set
	 */
	public void setFreeTextQuestion(String freeTextQuestion) {
		this.freeTextQuestion = freeTextQuestion;
	}

	/**
	 * @return the answer
	 */
	public String getAnswer() {
		return freeTextAnswer;
	}

	/**
	 * @param answer the answer to set
	 */
	public void setAnswer(String answer) {
		this.freeTextAnswer = answer;
	}


	/**
	 * @return the answerfieldHeigt
	 */
	public double getAnswerfieldHeigt() {
		return answerfieldHeight;
	}


	/**
	 * @param answerfieldHeigt the answerfieldHeigt to set
	 */
	public void setAnswerfieldHeigt(double answerfieldHeigt) {
		this.answerfieldHeight = answerfieldHeigt;
	}


	/**
	 * @return the archievablePoints
	 */
	public double getArchievablePoints() {
		return achievablePoints;
	}


	/**
	 * @param archievablePoints the archievablePoints to set
	 */
	public void setArchievablePoints(double archievablePoints) {
		this.achievablePoints = archievablePoints;
	}


}
